package starlingui.state.desktopState
{
	import com.imcrl.component.pictab.PictabQ;
	import com.imcrl.core.state.IState;
	import com.imcrl.core.state.StateMachine;
	
	import starling.events.Event;
	
	import starlingui.component.Desktop;
	
	public class AbsState implements IState
	{
		protected var desktop:Desktop;

		protected var _name:String;
		protected var _machine:StateMachine;
		public function AbsState(desktop:Desktop,name:String)
		{
			this.desktop=desktop;
			_name=name;
		}
		
		
		public function start():void
		{
		}
		
		public function end():void
		{
		}
		
		public function endByEvent(event:Event):void{
			
		}
		
		public function initialize():void
		{
			// TODO Auto Generated method stub
			
		}
		
		public function get initialized():Boolean
		{
			// TODO Auto Generated method stub
			return true;
		}
		
		public function set machine(value:StateMachine):void
		{
			// TODO Auto Generated method stub
			_machine=value;
		}
		
		public function get name():String
		{
			// TODO Auto Generated method stub
			return _name;
		}
		
	}
}